//
//  UIView+YGGestureBlock.h
//  UIKit分类整合
//
//  Created by Mr.xu on 2017/1/8.
//  Copyright © 2017年 xuyaguang. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^TapActionBlock)(UITapGestureRecognizer *gestureRecoginzer);
typedef void (^LongPressActionBlock)(UILongPressGestureRecognizer *gestureRecoginzer);

@interface UIView (YGGestureBlock)

/**
 tap手势

 @param block tap手势代码块
 */
- (void)yg_addTapActionWithBlock:(TapActionBlock)block;



/**
 LongPress手势

 @param block LongPress手势代码块
 */
- (void)yg_addLongPressActionWithBlock:(LongPressActionBlock)block;


@end
